<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- $Id: category_list.htm 17019 2010-01-29 10:10:34Z liuhui $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 商品分类 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${pageContext.request.contextPath}/Styles/general.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/Styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>
    <span class="action-span"><a href="${pageContext.request.contextPath}/jsp2/categoryAdd.jsp">添加分类</a></span>
    <span class="action-span1"><a href="__GROUP__">ECSHOP 管理中心</a></span>
    <span id="search_id" class="action-span1"> - 商品分类 </span>
    <div style="clear:both"></div>
</h1>
<form method="post" action="" name="listForm">
    <div class="list-div" id="listDiv">
        <table width="100%" cellspacing="1" cellpadding="2" id="list-table">
            <tr>
                <th>分类id</th>
                <th>分类名称</th>
                <th>操作</th>
            </tr>
           <c:forEach items="${list }" var="list">
	            <tr align="center" class="0">
	                <td align="left" class="first-cell" >
	               		${list.c_id }
	                </td>
	                <td width="15%">
	                	${list.c_name }
	                </td>
	
	                <td width="30%" align="center">
	                <a href="${pageContext.request.contextPath}/CaterageSelOne.do?c_id=${list.c_id}">编辑</a> |
	                <a href="${pageContext.request.contextPath}/CaterageDel.do?c_id=${list.c_id}" >移除</a>
	                </td>
	            </tr>
            </c:forEach>
            <tr>
                <td align="right" nowrap="true" colspan="6">
                    <div id="turn-page">
				                        总计 <span id="totalRecords">${totalCount}</span>
				                        个记录分为 <span id="totalPages">${zongye}</span>
				                        页当前第 <span id="pageCurrent">${page+1}</span>
				                        页
                        <span id="page-link">
                            <a href="${pageContext.request.contextPath}/CaterageSel.do?currPage=0">首页</a>
                            <a href="${pageContext.request.contextPath}/CaterageSel.do?currPage=${page-1 <0?0:page-1}">上一页</a>
                            <a href="${pageContext.request.contextPath}/CaterageSel.do?currPage=${page+1 >zongye?zongye:page+1}">下一页</a>
                            <a href="${pageContext.request.contextPath}/CaterageSel.do?currPage=${zongye}">尾页</a>
                            <select id="gotoPage">
                                <option value='1'>1</option>
                            </select>
                        </span>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</form>
<div id="footer">
共执行 1 个查询，用时 0.055904 秒，Gzip 已禁用，内存占用 2.202 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>
</body>
</html>